package com.py.pythink.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.models.auth.In;
import lombok.Data;
import lombok.NoArgsConstructor;



@Data
@TableName("t_userfollow")
@NoArgsConstructor
public class UserFollow {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private Integer uid;
    private String uname;
    private Integer fuid;
    private String sname;
    private Integer flag;

    public UserFollow(Integer uid, String uname, Integer fuid, String sname) {
        this.uid = uid;
        this.uname = uname;
        this.fuid = fuid;
        this.sname = sname;
    }
}
